package com.gatewat.config;



import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.boot.CommandLineRunner;
import org.springframework.stereotype.Component;

import java.util.ArrayList;
import java.util.List;

@Component
public class MyCommandLineRunner implements CommandLineRunner {

   private static final Logger logger = LoggerFactory.getLogger(MyCommandLineRunner.class);

    @Override
    public void run(String... args) throws Exception {
        System.out.println("----------------------------");
        List<String> infoList = new ArrayList<>();
        infoList.add("1");
        System.out.println("初始化list集合长度wei:"+infoList.size());
        System.out.println("----------------------------");
    }
}
